<template>
  <div>
    御剑乘风来,除魔天地间!
    {{ aa }}
    <br />

    <br />
    <button @click="fn">按钮</button>
  </div>
</template>
<script>
export default {
  name: '',
  inject: ['aa', 'fu', 'fg'],
  data () {
    return {

    }
  },
  created () {
  },
  computed: {
  },
  methods: {
    fn () {
      this.fg('这是子元素传过去的数据')
    }
  }
}
</script>
<style lang='less'  scoped>
</style>
